import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';
/**
 * 前纺价格与单位换算表*/
// 创建
export const spinFrontPriceCreate = (data) => postRequest('/spin/front-price/create', data);

// 更新
export const spinFrontPriceUpdate = (data) => putRequest('/spin/front-price/update', data);

// 删除
export const spinFrontPriceDelete = (params) => deleteRequest('/spin/front-price/delete', params);

// 获得
export const spinFrontPriceGet = (params) => getRequest('/spin/front-price/get', params);

// 分页
export const spinFrontPricePage = (params) => getRequest('/spin/front-price/page', params);
